package com.starsoft.smdc.dao;

import java.util.Date;

import org.springframework.stereotype.Repository;

import com.starsoft.frame.core.orm.BaseDao;
import com.starsoft.smdc.bean.SmdcFundNavPre;
import com.starsoft.smdc.bean.SmdcSecurity;

@Repository
public class FundNavPreDao extends BaseDao<SmdcFundNavPre, Integer>{
	
	public SmdcFundNavPre getPre(String secId, Date preDate){
		String hql = "from SmdcFundNavPre where secId=?0 and preDate=?1";
		return get(hql, secId, preDate);
	}
	
}
